const { DataTypes } = require('sequelize')
const db = require('../db/index')
module.exports = db.define('fang', {
    type: DataTypes.CHAR(255),
    title: DataTypes.CHAR(255),
    erea: DataTypes.CHAR(255),
    sum: DataTypes.CHAR(255),
    context: DataTypes.CHAR(255),
    tag: DataTypes.CHAR(255),
    price: DataTypes.CHAR(255),
    fx: DataTypes.CHAR(255),
    address: DataTypes.CHAR(255),
    userid: DataTypes.CHAR(255),
    img: DataTypes.CHAR(255),
    ishas: DataTypes.CHAR(255),

}, {
    timestamps: true
})